/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx.mapper;

import cn.webrx.entity.Member;
import cn.webrx.vo.MemberVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Set;

/**
 * <p>Project: mybatis2022 - MemberMapper
 * <p>Powered by webrx On 2022-04-11 11:25:17
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@Mapper
public interface MemberMapper {
    List<Member> queryAll();

    @Select("select id,account,truename from t_member")
    List<MemberVo> showAll();

    @Select("select truename from t_member")
    List<String> queryAllNames();
}
